package anxpp.aio.client;

import java.util.Scanner;

/**
 * Created by gzhd on 2017/12/1.
 */
public class TestClient {
    //测试主方法
    @SuppressWarnings("resource")
    public static void main(String[] args) throws Exception {
        Client.start();
        System.out.println("请输入请求消息：");
        Scanner scanner = new Scanner(System.in);
        while (Client.sendMsg(scanner.nextLine())) ;
    }
}
